Skip to content

Migrate to GitHub Actions#1017

Open
SuperQ wants to merge 1 commit intomainfrom
superq/ci
Open

Migrate to GitHub Actions#1017
SuperQ wants to merge 1 commit intomainfrom
superq/ci

Conversation

@SuperQ
Copy link
Copy Markdown
Member

@SuperQ SuperQ commented Apr 8, 2026

Migrate CI to GitHub Actions.

  • Enable dependabot for GitHub Actions.

@SuperQ SuperQ requested a review from roidelapluie April 8, 2026 15:25
publish_main:
name: Publish main branch artifacts
runs-on: ubuntu-latest
needs: [test_go, build]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also intergration, mixin ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Integration yes, but we don't publish the mixins.

@roidelapluie
Copy link
Copy Markdown
Member

make test runs go test -race ./..., which calls TestExporter using dsn = "root@/mysql" - a unix socket connection

we should support a custom DSN -- changes are needed in tests. I would also run integration tests with -v. We could also have health checks in the service section.

image: ${{ matrix.mysql_image }}
env:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_ROOT_HOST: '%'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

options: >-
    --health-cmd="mysqladmin ping"
    --health-interval=10s
    --health-timeout=5s
    --health-retries=10

@SuperQ
Copy link
Copy Markdown
Member Author

SuperQ commented Apr 11, 2026

So, I have a suspicion that the integration test doesn't actually do anything. I have no running mysql locally and nothing fails. :-/

Migrate CI to GitHub Actions.
* Enable dependabot for GitHub Actions.

Signed-off-by: SuperQ <superq@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants